Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Port Functions / Manipulating View Port Object Properties


GXGetViewPortHalftone

You can use the GXGetViewPortHalftone function to examine the halftone property of a view port object.

boolean GXGetViewPortHalftone(gxViewPort source, 
                              gxHalftone *data);
source
A reference to the view port whose halftone you wish to examine.
data
A pointer to a halftone structure. On return, the structure contains the view port's halftone information.
function result
true if the halftone exists; otherwise false.
DESCRIPTION
The GXGetViewPortHalftone function copies the view port's halftone into the structure you provide, pointed to by the data parameter. If a halftone does not exist,
the contents of the structure pointed to by the data parameter are not changed.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewPort_reference 
SEE ALSO
For information about the halftone property, see "Halftone" beginning on page 7-13.

To set the halftone of a view port, use the GXSetViewPortHalftone function, described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996